package com.quanyue.haircut.order.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Table
public class TechnicianCommission {
    @Column(name = "phone")
    @ApiModelProperty(required = true, value = "客户电话")
    private String phone;
    @Column(name = "user_name")
    @ApiModelProperty(required = true, value = "客户姓名")
    private String userName;
    @Column(name = "server_content")
    @ApiModelProperty(required = true, value = "服务项目")
    private String serverContent;
    @Column(name = "create_time")
    @ApiModelProperty(required = true, value = "")
    private LocalDateTime createTime;
    @Column(name = "commission")
    @ApiModelProperty(required = true, value = "提成比例")
    private BigDecimal commission;
    @Column(name = "pay_price")
    @ApiModelProperty(required = true, value = "支付价格")
    private BigDecimal payPrice;
    @Column(name = "pay_commission")
    @ApiModelProperty(required = true, value = "支付提成")
    private BigDecimal payCommission;
}
